package cn.home.fenni.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.home.common.annotation.Excel;
import cn.home.common.core.domain.BaseEntity;

/**
 * tixing对象 home_medicine_tixing
 * 
 * @author gm
 * @date 2025-04-14
 */
public class HomeMedicineTixing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 提醒天数 */
    @Excel(name = "提醒天数")
    private Long days;

    /** 单位 */
    @Excel(name = "单位")
    private String dan;

    /** 计量 */
    @Excel(name = "计量")
    private Long num;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isrun;

    /** 用药时间 */
    @Excel(name = "用药时间")
    private String time;

    /** 药品名字 */
    @Excel(name = "药品名字")
    private String name;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDays(Long days) 
    {
        this.days = days;
    }

    public Long getDays() 
    {
        return days;
    }

    public void setDan(String dan) 
    {
        this.dan = dan;
    }

    public String getDan() 
    {
        return dan;
    }

    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    public void setIsrun(Long isrun) 
    {
        this.isrun = isrun;
    }

    public Long getIsrun() 
    {
        return isrun;
    }

    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("days", getDays())
            .append("dan", getDan())
            .append("num", getNum())
            .append("isrun", getIsrun())
            .append("time", getTime())
            .append("name", getName())
            .toString();
    }
}
